package gogohome.ourhome;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.PreferenceActivity;

public class basic_set extends PreferenceActivity{
	Preference home_pre;
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		addPreferencesFromResource(R.xml.basic_set_main);
		
		Intent intent = new Intent(basic_set.this, new_map_search.class);
		
		Intent intent2 = new Intent(basic_set.this, gogohomes.class);
		Preference test = findPreference("test_pref");
		test.setIntent(intent);
		
		Preference test2 = findPreference("test_pref2");
		test2.setIntent(intent2);
		
		//home_pre.
		
		//setContentView(R.layout.basic_set_main);
	}
}
